Skip to content

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Jan 21, 2026

This PR adds a validation error when a mentions pattern starts with a / (aka absolute path).

This is because the paths we get from git are relative.

Reported at rust-lang/rustfmt#6776
cc @jieyouxu

@Urgau Urgau requested a review from Kobzol January 21, 2026 06:44
@Urgau Urgau added this pull request to the merge queue Jan 21, 2026
Merged via the queue into rust-lang:master with commit 4bc0d1f Jan 21, 2026
3 checks passed
@Urgau Urgau deleted the mentions-error-absolute-path branch January 21, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants